package com.ruoyi.find.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 楼盘点评对象 property_comment
 * 
 * @author gjq
 * @date 2025-09-18
 */
public class PropertyComment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录唯一标识 */
    @Excel(name = "记录唯一标识")
    private Long id;

    /** 评论用户的名称 */
    @Excel(name = "评论用户的名称")
    private String username;

    /** 被评论的楼盘名称 */
    @Excel(name = "被评论的楼盘名称")
    private String propertyName;

    /** 评论的具体内容 */
    @Excel(name = "评论的具体内容")
    private String content;

    /** 评论提交的时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "评论提交的时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date submitTime;

    /** 评论的审核状态，如待审、已审 */
    @Excel(name = "评论的审核状态，如待审、已审")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }

    public void setPropertyName(String propertyName) 
    {
        this.propertyName = propertyName;
    }

    public String getPropertyName() 
    {
        return propertyName;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setSubmitTime(Date submitTime) 
    {
        this.submitTime = submitTime;
    }

    public Date getSubmitTime() 
    {
        return submitTime;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("username", getUsername())
            .append("propertyName", getPropertyName())
            .append("content", getContent())
            .append("submitTime", getSubmitTime())
            .append("status", getStatus())
            .toString();
    }
}
